package com.compass.mobile.models

import java.io.Serializable

/**
 * Description：
 * Date:2024/6/19 9:56
 */
data class OrderBeanWarp(
    val list: MutableList<OrderBean>,
    val total: Int
)

data class OrderBean(
    val id: String,
    val createTime: Long,
    val lastVisitDate: Long,
    val consultationEndDate: Long?,
    val consultationStartDate: Long?,
    val type: String,
    val consultationCaseSignPdf: String?,//病历pdf
    val status: String,
    val payPrice: Long,
    val doctorAvatar: String,
    val doctorName: String,
    val doctorId: String,
    val positionName: String,
    val departmentId: String,
    val departmentName: String,
    val hospitalName: String,
    val wyyxAccId: String,
    val ifReturnVisit: String,
    val ifSanity: String,
    val illnessDuration: String?,
    val lastDiagnosis: String?,
    val diseaseDescriptionText: String,//描述
    val patientName: String,//患者姓名
    var action: String,//自用字段 记录消息action
    var proposalMsg: String?,//问诊小结
    var oiDTOList: MutableList<InspectionDTO>?, //检验检查
    var opDTOList: MutableList<PrescriptionDTO>? //处方列表
) : Serializable


data class InspectionDTO(
    val id: String,
    val inspectionId: String,
    val patientId: String,
    val doctorId: String,
    val executeDepartment: String,
    val executeDepartmentName: String,
    val price: Long,
    val doctorAdvice: String,
    val type: String,
    val consultationId: String,
    val source: String,
    val status: String,
    val inspectionName: String,
    val createTime: Long,
    val hisOrderId: String,
    val hospitalId: String,
) : Serializable

data class PrescriptionDTO(

    val createTime: Long,
    val doctorId: String,
    val patientId: String,
    val consultationId: String,
    val hospitalId: String,
    val diagnosisFee: String,
    val presentDisease: String,
    val statusName: String,
    val drugNameStr: String,
    val price: Long,
) : Serializable

